#!/usr/bin/php -q
<?
$file = file_get_contents("http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml");
$xml_parser = xml_parser_create();
xml_parse_into_struct($xml_parser, $file, $vals, $index);
xml_parser_free($xml_parser);
print_r($vals);
//print_r($index);
?>
